<?php
/**
 * 注册登录相关
 */



Route::any('/wx/msg', 'api/Wx/msg');



Route::post('/wx/login', 'api/index/login');
Route::post('/wx/getStaff', 'api/index/getStaff');
Route::post('/wx/layout', 'api/index/layout');
Route::post('/wx/getShareCode', 'api/index/getShareCode');
Route::post('/wx/getRecommend', 'api/index/getRecommend');




Route::post('/wx/getUserClass', 'api/index/getUserClass');
Route::post('/wx/ad', 'api/ad/ad_list');
Route::post('/wx/notice', 'api/article/notice');
Route::post('/wx/getArticleInfo', 'api/article/getArticleInfo');
Route::post('/wx/getPhone', 'api/index/getPhone');
Route::post('/wx/add_address', 'api/address/add_address');
Route::post('/wx/address_list', 'api/address/get_address');

Route::post('/wx/getAddressInfo', 'api/address/getAddressInfo');

Route::post('/wx/del_address', 'api/address/del_address');
Route::post('/wx/getMyRegion', 'api/address/getMyRegion');
Route::post('/wx/getOpenRegion', 'api/address/getOpenRegion');


//上传图片


Route::post('/wx/upimg', 'api/up/upimg');


Route::post('/wx/recycling_type', 'api/recycling/getList');
Route::post('/wx/getTypePrice', 'api/recycling/getTypePrice');//获取分类下面的价格

//下单

Route::post('/wx/unified_order', 'api/order/unified_order');
Route::post('/wx/getOrderList', 'api/order/getOrderList');
Route::post('/wx/cancelOrder', 'api/order/cancelOrder');//取消订单
Route::post('/wx/getOrderInfo', 'api/order/getOrderInfo');//取消订单
Route::post('/wx/appraise', 'api/order/appraise');//评价


//回收员相关

Route::post('/wx/getRecyclerLocation', 'api/address/getRecyclerLocation'); //附近 回收员
Route::post('/wx/upLocation', 'api/recycler/upLocation'); //上传位置信息

Route::post('/wx/submitApply', 'api/recycler/submitApply');
Route::post('/wx/checkIsApply', 'api/recycler/checkIsApply'); //判断是否有审核
Route::post('/wx/getRecyclerOrder', 'api/recycler/getRecyclerOrder'); //获取订单信息
Route::post('/wx/getRecyclerOrderInfo', 'api/recycler/getRecyclerOrderInfo'); //获取订单信息
Route::post('/wx/acceptOrder', 'api/recycler/acceptOrder'); //获取订单信息

Route::post('/wx/getRecyclerPrice', 'api/recycler/getRecyclerPrice'); //获取结算信息
Route::post('/wx/settlement', 'api/recycler/settlement'); //获取结算信息


Route::post('/wx/getIntegralRecord', 'api/Integral/getIntegralRecord'); //获取结算信息


//商城模块

Route::post('/wx/getGoodsList', 'api/goods/getGoodsList'); //获取结算信息
Route::post('/wx/getGoodsInfo', 'api/goods/getGoodsInfo'); //获取商品详情

Route::post('/wx/exchange','api/goods/exchange');//商品兑换
Route::post('/wx/exchangeOrderRecord','api/goods/exchangeOrderRecord');//兑换记录
Route::post('/wx/shouhuo','api/goods/shouhuo');//收货







